package t4;

/**
 * 水果bean
 *
 */
public class FruitBean {
	private String name;// 姓名
	private Integer price;// 单价
	private Integer cost;// 成本

	public FruitBean() {
	}

	public FruitBean(String name, Integer price, Integer cost) {
		this.name = name;
		this.price = price;
		this.cost = cost;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Integer getCost() {
		return cost;
	}

	public void setCost(Integer cost) {
		this.cost = cost;
	}

}
